import { createStore } from 'vuex'
import user from './modules/user'

import category from './modules/category'

// 为了配合vue3 vuex做了api更新 老：new Vuex.Store  新: createStore
export default createStore({
  // 注册拆分出去的vuex模块
  modules: {
    user,
    category
  }
})
